from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^orders/settlement/$', views.OrderSettlementView.as_view(), name='settlement'),

    # 提交订单 orders/commit/
    url(r'^orders/commit/$', views.OrderCommitView.as_view(), name='commit'),

    # 展示提交成功的页面
    url(r'^orders/success/$', views.OrderSuccessView.as_view()),

    # 我的订单
    url(r'^orders/info/(?P<page_num>\d+)/$', views.MyOrderView.as_view()),

    # 展示商品评价页面
    url(r'^orders/comment/$', views.ShowCommentView.as_view()),
]
